<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <title><%= htmlWebpackPlugin.options.isProd?'':'现在是开发模式下 ' %>小米商城</title>

  <% if(htmlWebpackPlugin.options.isProd){ %>
  <!-- vue文件 -->
  <script src="https://cdn.staticfile.org/vue/2.5.22/vue.min.js"></script>
  <!-- vue-router文件 -->
  <script src="https://cdn.staticfile.org/vue-router/3.0.1/vue-router.min.js"></script>
  <!-- axios文件 -->
  <script src="https://cdn.staticfile.org/axios/0.18.0/axios.min.js"></script>
   
  <!-- nprogress 的样式表文件和js文件 -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.css" />
  <script src="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.js"></script>

    <!-- element-ui 的样式表文件和js文件 -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.8.2/theme-chalk/index.css" />
    <script src="https://cdn.staticfile.org/element-ui/2.8.2/index.js"></script>

     <!-- vee-validate -->
     <!-- <script src="https://unpkg.com/vee-validate@latest"></script>
  <script src="https://cdn.bootcss.com/vee-validate/2.2.15/locale/zh_CN.js"></script> -->
  <% } %>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
      Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

</html>